package com.recipedb.recipedb.service;

import com.recipedb.recipedb.entity.RecipeCommentLike;
import com.recipedb.recipedb.entity.RecipeCommentLikeId;
import java.util.List;
import java.util.Optional;

public interface RecipeCommentLikeService {
    RecipeCommentLike save(RecipeCommentLike entity);
    void deleteById(RecipeCommentLikeId id);
    Optional<RecipeCommentLike> findById(RecipeCommentLikeId id);
    List<RecipeCommentLike> findAll();
    // 根据评论ID查询点赞记录
    List<RecipeCommentLike> findByCommentId(Long commentId);
}
